package com.itheima.d2_polymorphism;

public class Teacher extends People {
    public String name = "Teacher的name属性值";
    @Override
    public void run() {
        System.out.println("老师跑步");
    }

    public void teach() {
        System.out.println("老师讲课");
    }
}
